package com.tgy.排序;

/***
 * @ClassName: Utils
 * @Description: 工具类
 * @Auther: tanggy3
 * @Date: 14:23 2022/8/17
 * @version : V1.0
 */
public class Utils {

    public static void main(String[] args) {
        System.out.println(3/10);
    }
    /**
     * 获取8万数组
     * @return
     */
    public static int[] getIntArr(){
        int[] arr = new int[80000];
        for (int i = 0; i < 80000; i++) {
            arr[i] =(int) (Math.random()*8000000);
        }
        return arr;
    }

    public static int[] getIntArr(int num){
        int[] arr = new int[num];
        for (int i = 0; i < num; i++) {
            arr[i] =(int) (Math.random()*8000000);
        }
        return arr;
    }
}
